/*
 *  Dino.h
 *  final
 *
 *  Created by Javier Quevedo on 1/21/09.
 *  Copyright 2009 __MyCompanyName__. All rights reserved.
 *
 */

#import "Node.h"
#import "Model.h"
#if defined(WIN32)
#include <GL/glut.h>
#else
#include <GLUT/glut.h>
#endif

typedef enum DinoState {
	DS_Walk = 0,
	DS_Jump = 1,
	DS_Lay = 2,
	DS_Stop = 3
} DinoState;

typedef struct Dino {
	Node *leftArm;
	Node *rightArm;
	Node *body;
	Node *eyes;
	Node *leftLeg;
	Node *rightLeg;
	Node *main;
	GLfloat position[3];
	GLfloat velocity[3];
	GLfloat acceleration[3];
	GLfloat size[3];

	char **files;
	Model *model;
	enum DinoState state;
}Dino;
	
	
Dino *initDino();
void releaseDino(Dino *dino);
void setDinoSize(Dino *dino, GLfloat dinoSize);


